/*
 * Sesame Inc.
 * Copyright (c) 2009 All Rights Reserved.
 */
package com.sesame.dao;

import java.util.List;

import com.sesame.domain.Comment;

/**
 * @author voidman
 * 
 */
public interface CommentDAO {
    public List<Comment> getAllComment();

    public Comment getCommentById(Integer id);

    public List<Comment> getCommentByImageId(Integer imageId);

    public void addComment(Comment comment);

    public void deleteCommentById(Integer id);

    public void updateComment(Comment comment);
}